package ua.pp.bizon.yandex.nb.model;

import ua.pp.bizon.yandex.uploader.atom.EntryAlbum;


public class RemoteAlbumNode extends RemoteNode {

	private RemoteNode parent;
	
	public RemoteAlbumNode(EntryAlbum albumsList, RemoteNode parent) {
		super(albumsList);
		this.parent	= parent;
	}

	public RemoteNode getParent() {
		return parent;
	}
	@Override
	public EntryAlbum getAlbum() {
		return (EntryAlbum) super.getAlbum();
	}
	
	@Override
	public void dataChanged() {
		parent.dataChanged();
	}
}
